import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import httpApi from "./http";
import 'element-ui/lib/theme-chalk/index.css';
import './assets/iconfont/iconfont.css'  //引入字体图标
import './assets/iconfont_color/iconfont.css' //引入字体彩色图标
import './assets/iconfont_color2/iconfont.css' //引入字体彩色图标2号库
import './assets/iconfont_color_new/iconfont.css' 
import Rsa from "@/common/rsa.js"
import '@/common/preventReClick.js'
Vue.prototype.Rsa = Rsa // 将Rsa注册为公共方法,方便其他页面调用
Vue.use(ElementUI);
Vue.prototype.$http = httpApi

// 为vue对象注入自定义属性（全局变量）
Vue.prototype.$store=store
Vue.config.productionTip = false
// 设置高德地图的安全密钥
window._AMapSecurityConfig = {
  securityJsCode: '931893de327495868bbf4c5aa3e0a380',
}

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
